﻿@using Single_SignOn.Areas.PDA.Models
@using Single_SignOn.ResX
@model IEnumerable<Single_SignOn.Areas.PDA.Models.Company>
<table style="width: 100%" class="right">
    <tr>
        <td style="width: 80%;vertical-align: middle;" class="right">
            @{
                <ul class="toggle">
                    @foreach (Company _models in Model)
                    {
                        string _mode = ((@_models.Name == @ViewBag.CompanyName) ? "selected" : "unselected");
                        <li class="@_mode">
                            <a href="@Html.AttributeEncode(Url.Action("ChangeLanguage", "ApplicationList"))?company=@_models.Name&language=@ViewBag.Language" >
                                @_models.Description
                            </a>
                        </li>
                    }
                    <li><a style="width: 80px; background-color: transparent;"><h5>@ResourceTools.GetResource("Resource", "Company")  :</h5></a></li>
                    
                </ul>
            } 
        </td>
    </tr>
</table>